package com.member.spring_cloud_member;

import java.util.Scanner;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;



@SpringBootApplication
@EnableEurekaClient
public class SpringCloudMemberApplication {

	public static void main(String[] args) {
		Scanner scanner=new Scanner(System.in);
		String port=scanner.nextLine();
		new SpringApplicationBuilder(SpringCloudMemberApplication.class).properties("server.port="+port).run(args);
		
		
//		SpringApplication.run(SpringCloudMemberApplication.class, args);
	}
}
